package com.dy.course.model;

import javax.persistence.*;

@Table(name = "meeting_user")
public class MeetingUser {
    /**
     * 会议id
     */
    @Id
    @Column(name = "meeting_id")
    private Long meetingId;

    /**
     * 签到人id
     */
    @Id
    @Column(name = "user_id")
    private Long userId;

    /**
     * 座位信息
     */
    private String seat;
    
    @Transient
    private Long type;

	public Long getType() {
		return type;
	}

	public void setType(Long type) {
		this.type = type;
	}

	/**
     * 获取会议id
     *
     * @return meeting_id - 会议id
     */
    public Long getMeetingId() {
        return meetingId;
    }

    /**
     * 设置会议id
     *
     * @param meetingId 会议id
     */
    public void setMeetingId(Long meetingId) {
        this.meetingId = meetingId;
    }

    /**
     * 获取签到人id
     *
     * @return user_id - 签到人id
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置签到人id
     *
     * @param userId 签到人id
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取座位信息
     *
     * @return seat - 座位信息
     */
    public String getSeat() {
        return seat;
    }

    /**
     * 设置座位信息
     *
     * @param seat 座位信息
     */
    public void setSeat(String seat) {
        this.seat = seat;
    }
}